for i=1,10 do 
	if(i<=5) then
		for j=1,6-i do  
			io.write(' ');
		end
		for k=1,2*i-1 do
			io.write('*')
		end
	io.write('\n')
	else 
		for j=1,i-4 do
			io.write(' ')
		end
		for k=1,2*(10-i)-1 do
			io.write('*')
		end
	io.write('\n')
	end
end
